﻿using Shop.RemoteModel.GoodsSpec.Model;
using WeDonekRpc.Client;

namespace Shop.LocalEvent
{
    public class SpecGroupEvent : EventPublic
    {
        public SpecGroupEvent ()
        {
        }
        public SpecGroupEvent (long goodsId, GoodsSpecGroup[] groups) : base("Sync")
        {
            this.Groups = groups;
            this.GoodsId = goodsId;
        }
        public long GoodsId { get; }

        public GoodsSpecGroup[] Groups { get; set; }
    }
}
